package com.myproject.mall.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum UserStatus {
    NORMAL(0, "正常"),
    DELETED(9, "删除");

    @EnumValue
    private final Integer code;
    @JsonValue
    private final String message;
}
